#include "File_New_GuiCommand.h"
#include "..\ProjectManagement\ProjectManager.h"
#include "..\D-DrawFrm.h"

File_New_GuiCommand::File_New_GuiCommand(void* target, wxString name){
	m_target=target;
	m_command_type = GuiCommandType_file_new;
	m_name=name;
	}
File_New_GuiCommand::~File_New_GuiCommand(){
	
	}
bool File_New_GuiCommand::Execute(){
	return (((ProjectManager*)m_target)->CreateProject(m_name));
	}

